package com.yonyou.crm.csns.im.rmimpl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yonyou.crm.csns.im.entity.ImVO;
import com.yonyou.crm.csns.im.rmitf.IImRmService;
import com.yonyou.crm.csns.im.service.ImBizServiceImpl;

@Service("imService")
public class ImRmServiceImpl implements IImRmService {
	
	@Autowired
	private ImBizServiceImpl bizService;
	
	public Map<String, Object> getImInfo(Long id) {
		return bizService.getImInfo(id);
	}
	
	public ImVO getImDetail(Long id) {
		return bizService.getVOById(ImVO.class, id);
	}
}
